package com.zb.vo;

import com.zb.entity.FieldVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.List;


/**
 * @Author WEN
 * @Date 2023/8/2 0002
 **/
@Data
@ApiModel("商品字段实体")
public class GoodsFieldVo extends FieldVo {
    @ApiModelProperty(value = "商品字段ID，新增不必传，修改时必传")
    private Long id;

    @ApiModelProperty(value = "字段单选/多选项内容，当字段类型='单选/多选'时，该字段至少必填一个")
    private List<GoodsFieldContentVo> contentVos;

    @ApiModelProperty(value = "字段单选/多选项内容，当字段类型='单选/多选'且删除时，删除的ID值传入该字段")
    private List<Long> contentIds;


}
